package Stream_Study;

import java.util.stream.Stream;

public class StreamDemo5 {
    public static void main(String[] args) {
        //一堆零散的数据       public static<T> Stream<T> of(T... values)        Stream接口中的静态方法
        Stream.of(1, 2, 3, 4, 5);
        Stream.of("a", "b", "c", "d", "e");

    }
}
